import Vue from "vue";
import App from "./App.vue";
import router from "./router";
import "./router/permission.js";
import store from "./store";
import ElementUI from "element-ui";
import "element-ui/lib/theme-chalk/index.css";
import QianKun from "@/qiankun-main";
import componentInstall from "./components"; // 自动注册全局组件
import _ from "lodash";
// if (process.env.NODE_ENV !== "production") {
require("./mock");
// }
Vue.use(ElementUI);
Vue.use(QianKun);
Vue.use(componentInstall);
Vue.config.productionTip = false;
Vue.prototype._ = _;
new Vue({
  router,
  store,
  render: (h) => h(App),
}).$mount("#app");
